﻿<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<easyccms.BusinessLayer.Entities.SiteUser>" %>

<span>Logged in as <a href="#" title="<%: Page.User.Identity.Name %>"><%=string.Format("{0} {1} ({2})", Model.UserProfile.Name, Model.UserProfile.Surname, Model.UserGroup.GroupName) %></a></span>

			| <a href="#" title="Edit profile">Edit profile</a>
			| <%: Html.ActionLink("Log Off", "LogOff", "Account") %> 
<span>Last logged in </span><div style="color:White;float:right; padding-left:5px;"><%: (Model.LastLoginDate!=null)? ((DateTime)Model.LastLoginDate).ToString("dd/MM/yyyy hh:mm:ss"):null %></div>


